<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Đăng Nhập Hệ Thống Quán Lý</title>
        <script language="javascript" type="text/javascript">
            function check_form_login()
            {
                if(document.frm_login.txtuser.value.length==0)
                {
                    alert("Tên đăng nhập không được rỗng.")
                    document.frm_login.txtuser.focus()
                    return false
                }
                if(document.frm_login.txtpass.value.length==0)
                {
                    alert("Mật khẩu không được rỗng.")
                    document.frm_login.txtpass.focus()
                    return false
                }
                return true
            }
        </script>
        <style type="text/css">
            .page
            {
                background: #080808;
                color: #9A9A9A;
            }
            .tcat
            {
                color: #FFFFFF;
                font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
                text-align: center;
                background-color: #080808;
                background-repeat: repeat-x;
                background-position: left top;
            }
            .panel
            {
                background: #222424;
                color: #9A9A9A;
                padding: 10px;
                border: 1px;
            }

        </style>
    </head>
    <body class="page" onload="javascript:document.frm_login.txtuser.focus()">

        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p align="center">
        <form id="form1" name="frm_login" method="post" action="XuLyDangNhap_Admin.do" onsubmit="return check_form_login()">
            <div align="center">
                <table width="440" class="panel">
                    <tr>
                        <td width="152" rowspan="4"><img src="../Admin/images/icon/lock.png" width="150" height="125" /></td>
                        <td height="24" colspan="2" align="center" class="tcat">Đăng Nhập Hệ Thống </td>
                    </tr>
                    <tr>
                        <td width="77" height="30">Username</td>
                        <td width="195" align="left"><label>
                                <input name="txtuser" type="text" id="txtuser" />
                            </label></td>
                    </tr>
                    <tr>
                        <td height="27">Password</td>
                        <td align="left"><label>
                                <input name="txtpass" type="password" id="txtpass" />
                            </label></td>
                    </tr>
                    <tr>
                        <td height="32" colspan="2"><input type="submit" name="Submit" value="Đăng Nhập" />
                            <label>
                                <input type="button" name="Submit2" value="Hủy Bỏ" />
                            </label></td>
                    </tr>
                </table>
            </div>
        </form>
    </body></html>
